/*
 * Copyright (c) 2017年11月08日  by XuanWu Wireless Technology Co., Ltd 
 *             All rights reserved  
 */
package com.zml.sixth.example;

/**
 * @author <a href="mailto:zhaominglin@wxchina.com">minglin.Zhao</a>
 * @Description
 * @Date 2017/11/8
 * @Version 1.0.0
 */
public class SimpleRemoteControl {
    Command slot;

    public SimpleRemoteControl(){

    }
    public void setCommand(Command command){
        this.slot = command;
    }
    public void buttonWaPressed(){
        slot.execute();
    }
}
